package com.wanpinghui.wphlibrary.model.business.bean;

/***
 * 功能描述:动态图片信息
 * 作者:qiujialiu
 * 时间:2018/1/23
 ***/

public class ContentImg {
    private int type;
    private String url;
    private int width;
    private int height;
    private String thumb_url;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public String getThumbnailUrl() {
        return url+"_thumbnail";
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getWidth() {
        return width;
    }

    public int getHeight() {
        return height;
    }

    public String getThumb_url() {
        return thumb_url;
    }

    public abstract class ImgType{
        public static final int TYPE_PICTURE = 1;
        public static final int TYPE_VIDEO = 2;
    }

    public ContentImg(int type, String url) {
        this.type = type;
        this.url = url;
    }

    public ContentImg() {
    }
}
